package cn.com.surker.production.entity.report;

import cn.com.surker.base.BaseEntity;
import cn.com.surker.base.ExportInter;
import cn.com.surker.excel.ExcelCell;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用于产成品汇总的实体类
 *
 * @author luotao
 * @date 2025/1/16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProStrengthReport extends BaseEntity implements ExportInter {

	public ProStrengthReport(String strength, Double proStere, Double subsidyStere, Double scrapStere, Double totalStere) {
		this.strength = strength;
		this.proStere = proStere;
		this.subsidyStere = subsidyStere;
		this.scrapStere = scrapStere;
		this.totalStere = totalStere;
	}

	//	标号
	@ExcelCell(value = "砼标号", sort = 0)
	private String strength;

	//	生产方量
	@ExcelCell(value = "产量(M3)", sort = 4)
	private Double proStere;

	//	量差方量
	@ExcelCell(value = "量差(M3)", sort = 2)
	private Double subsidyStere;

	//	作废方量
	@ExcelCell(value = "报废(M3)", sort = 3)
	private Double scrapStere;

	//	合计方量
	@ExcelCell(value = "合计产量(M3)", sort = 1)
	private Double totalStere;

}
